package com.fly.studio.home.app.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author fuliying3
 * @date 2022/09/08 10:52:00
 */
@Component
@ConfigurationProperties(prefix = "thread-pool.home-page")
@Setter
@Getter
public class HomePageThreadPoolProperties {
    private int corePoolSize;
    private int maximumPoolSize;
    private long keepAliveTime;
    private int capacity;
    private String threadName;
}
